if (this.help) {
	usage('url=<url>');
} else if (this.url) {
	include('chrome://technika/content/technika.js');

	var path = this.url;
	var url = path.replace(/\/+$/, '') + '/__list__.js';

	try {
		var content = TH_readURL(url);
		eval(content);
	} catch (e) {
	}
} else {
	include('chrome://technika/content/technika.js');

	var path = TH_getPref('extensions.technika.scripts.path', undefined);

	if (path == undefined) {
		error('path not found');
	} else {
		var paths = path.split(/\s*;\s*/);

		for (var i = 0; i < paths.length; i++) {
			var path = paths[i];
			var url = path.replace(/\/+$/, '') + '/__list__.js';

			try {
				var content = TH_readURL(url);
				eval(content);
			} catch (e) {
			}
		}
	}
}
